import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios';
Vue.prototype.$http = axios;
// 环境配置：
// dev-local（使用mock）;
// dev-remote（使用测试环境接口）;
// production（生产环境）;
console.log('VUE_APP_MOCK: %s,', process.env.VUE_APP_CURRENTMODE, process.env.VUE_APP_MOCK);

eval(process.env.VUE_APP_MOCK) && require('@/mock');

Vue.config.productionTip = false
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
